package com.loong.global.constant;


public interface RedisKey {

    interface ADMIN{
        String ADMIN_CACHE = "ADMIN_CACHE_";
    }
    interface MEMBER{
        String USER_CACHE = "USER_CACHE_";
        String MEMBER_CACHE = "MEMBER_CACHE_";
    }
    interface USER_VERIFY{
        String USER_VERIFY_MEMBER="USER_VERIFY_MEMBER_";
        String USER_VERIFY_ADMIN="USER_VERIFY_ADMIN_";
    }
    interface AUTH{
        String AUTH_RESOURCE = "AUTH_RESOURCE_";
        String AUTH_API = "AUTH_API_";
    }
    interface SYSTEM{
        String SYNCHRONIZED_TIME = "SYNCHRONIZED_TIME_";//记录用户拉取站内信的同步时间前缀
        String CONFIGURE_POSITION_CODE ="CONFIGURE_POSITION_CODE_";//位置下的配置
    }
    interface NEWS_COMMENT{
        String COMMENT_ID = "COMMENT_ID_";//新闻评论的id
        String LIKE_NUM = "LIKE_NUM_";//新闻评论的点赞
        String UNLIKE_NUM = "UNLIKE_NUM_";//新闻评论的举报
    }
    interface NEWS{
        String NEWS_ID = "NEWS_ID_";//新闻id
        String READ_NUM = "READ_NUM_";//阅读数
        String SHARE_NUM = "SHARE_NUM_";//分享数
        String LIKE_NUM = "LIKE_NUM_";//点赞数
        String UNLIKE_NUM = "UNLIKE_NUM_";//举报数
    }
    interface GOODS_BASE{
        String GOODS_ID = "GOODS_ID_";//商品id
        String LIKE_NUM = "LIKE_NUM_";//点赞数
    }
    interface ORDER{
        String STOCK = "stock_";
        String LOCK_KEY = "lock_key_";
    }

    interface PRIMARY_KEY{
        String ORDER_ID = "order_id";
        String ORDER_ITEM_ID = "order_item_id";

    }

}
